package com.ph.irp.base.usermanage.dao;

import java.sql.SQLException;
import java.util.List;

import com.ph.irp.model.PBasePurviewRole;

/**
 * PBasePurviewRole entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public interface PBasePurviewRoleDAO  {
	
	public List<PBasePurviewRole> getAllUserGroupList()throws Throwable;
	
	public List<PBasePurviewRole> getUserGroupListByRoleName(String roleName)throws Throwable;
	
	
	public void addUserRole(PBasePurviewRole role)throws Throwable;
	
	
	public PBasePurviewRole getRoleByRoleId(String roleId)throws Throwable;
	
	public void editUserRole(PBasePurviewRole role)throws Throwable;
	
	public void deleteUserGroup(String deleteIds)throws Throwable;
	
	public int getRoleIdByRoleNameAndDesc(String roleName,String roleDesc)throws Throwable;
}